home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 2.0 KB | 57 lines | [TEXT/GEOL] |
- Item forwarded by WILSON6 to ALCABES
-
- Item 9143964 30-July-89 18:14
-
- From: WILSON6 Wilson, Dave - Personal Concepts
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: Think C 4.0 with OOP
-
- Dear C fanatics,
-
- I just received a copy of the Think C 4.0 with object-oriented extensions and a
- very large class library.
-
- The language is a subset of C++, containing the kind of OOP features found in
- Object Pascal. It looks easy to learn. I do not know if there is a way to
- subclass from Pascal objects, and therefore to get at MacApp. The C objects
- are normally accessed by handles, just as in Object Pascal. An object takes
- only 2 bytes more on the heap than its instance variables need, just as in
- Object Pascal.
-
- The system does not seem to contain any special OOP tools such as a Browser.
-
- The class library has:
-
- 43 "Core" classes:
- 2026 lines of class definition header files
- 13,614 lines of method implementations
-
- 21 other classes:
- 606 lines of headers
- 2,915 lines of methods
-
- Total: 19,000 lines of source code.
-
- For comparison, my last count on MacApp was about 46,000 lines.
-
- The library supports the usual features, plus nice things like tear-off menus.
- It is structured totally differently than MacApp.
-
- Their largest sample program is a B&W paint program. It contains about 4,100
- lines of code, and compiles to 113 KB on disk. The initial compile time on my
- Mac II using a 44 MB removeable disk drive was 7 mintes and 20 seconds. This
- includes compiling the class library into the (811 KB) project file. I then
- made a small change to a method implementation. It rebuilt the application in
- less than 15 seconds. Very impressive.
-
- I did find a bug when the program ran out of memory while trying to display its
- About… box, but it did not crash.
-
- One very good commercial developer friend of mine loves this product. I think
- it will be very popular, and help spread the OOP word.
-
- Dave
-
-